#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :

from concurrent.futures import ThreadPoolExecutor


def data(url):
    print(url)


if __name__ == '__main__':
    url = 'www.baidu.com{}'
    with ThreadPoolExecutor(10) as f:
        for i in range(1000):
            f.submit(data, url=url.format(i))

